//
//  LWX_VideoCommentModel.m
//  Otaku
//
//  Created by lanou3g on 16/5/10.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "LWX_VideoCommentModel.h"

@implementation LWX_VideoCommentModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

// cell 的高度
- (CGFloat)cellHeight {
    CGSize maxSize = CGSizeMake([UIScreen mainScreen].bounds.size.width - 2 * 10, MAXFLOAT);
    
        CGFloat textHeight = [self.text boundingRectWithSize:maxSize options:NSStringDrawingUsesLineFragmentOrigin attributes:@{NSFontAttributeName:[UIFont systemFontOfSize:17]} context:nil].size.height;
    _cellHeight = 20 + textHeight + 50;
    
    
    return _cellHeight;
    
}


@end
